package com.qzing.springbootmybatisdemo05.pojo;

//// match:pools (1:N)
//CREATE TABLE `gmatch` (
//        `id` int(11) NOT NULL AUTO_INCREMENT,
//        `vs` varchar(255) NOT NULL COMMENT '比赛对阵',
//        `tournament` varchar(255) NOT NULL COMMENT '联赛',
//        `matchtime` datetime DEFAULT NULL COMMENT '比赛时间',
//        PRIMARY KEY (`id`) USING BTREE
//        ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;

import java.util.Date;

public class GMatch {
    private Integer id;
    private String vs;
    private String tournament;
    private String matchtime;


    public GMatch(Integer id, String vs, String tournament, String matchtime) {
        this.id = id;
        this.vs = vs;
        this.tournament = tournament;
        this.matchtime = matchtime;
    }

    public GMatch() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getVs() {
        return vs;
    }

    public void setVs(String vs) {
        this.vs = vs;
    }

    public String getTournament() {
        return tournament;
    }

    public void setTournament(String tournament) {
        this.tournament = tournament;
    }

    public String getMatchtime() {
        return matchtime;
    }

    public void setMatchtime(String matchtime) {
        this.matchtime = matchtime;
    }

    @Override
    public String toString() {
        return "GMatch{" +
                "id=" + id +
                ", vs='" + vs + '\'' +
                ", tournament='" + tournament + '\'' +
                ", matchtime='" + matchtime + '\'' +
                '}';
    }
}
